[INFO] cloning repository https://github.com/katsumata-ryo/introduction_to_rust_programming
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/katsumata-ryo/introduction_to_rust_programming" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkatsumata-ryo%2Fintroduction_to_rust_programming", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkatsumata-ryo%2Fintroduction_to_rust_programming'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 36b6b2b0fc4c8cd59aca7192b55f79e874f1a16e
[INFO] checking katsumata-ryo/introduction_to_rust_programming against try#34585ff556bad2462429cd3775623c743928a72f for pr-102593
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkatsumata-ryo%2Fintroduction_to_rust_programming" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/katsumata-ryo/introduction_to_rust_programming on toolchain 34585ff556bad2462429cd3775623c743928a72f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/katsumata-ryo/introduction_to_rust_programming
[INFO] finished tweaking git repo https://github.com/katsumata-ryo/introduction_to_rust_programming
[INFO] tweaked toml for git repo https://github.com/katsumata-ryo/introduction_to_rust_programming written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/katsumata-ryo/introduction_to_rust_programming already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4149217f0fdf1403ac7bfe3967f89b6d0329af617e225a61c6026de50e5f9df1
[INFO] running `Command { std: "docker" "start" "-a" "4149217f0fdf1403ac7bfe3967f89b6d0329af617e225a61c6026de50e5f9df1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4149217f0fdf1403ac7bfe3967f89b6d0329af617e225a61c6026de50e5f9df1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4149217f0fdf1403ac7bfe3967f89b6d0329af617e225a61c6026de50e5f9df1", kill_on_drop: false }`
[INFO] [stdout] 4149217f0fdf1403ac7bfe3967f89b6d0329af617e225a61c6026de50e5f9df1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b243fcc94081e8b1fa021c305d591c1b93572ede22f3bdf7d9f7f4116c1efb62
[INFO] running `Command { std: "docker" "start" "-a" "b243fcc94081e8b1fa021c305d591c1b93572ede22f3bdf7d9f7f4116c1efb62", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.57
[INFO] [stderr]    Compiling libc v0.2.81
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking os_str_bytes v2.4.0
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking textwrap v0.12.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling indexmap v1.6.1
[INFO] [stderr]    Compiling heck v0.3.2
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.2
[INFO] [stderr]     Checking clap v3.0.0-beta.2
[INFO] [stderr]     Checking samplecli v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0599]: no method named `map_err` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/bin/err_string.rs:19:50
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let num_str = std::fs::read_to_string((path).map_err(|e| e.to_string))?;
[INFO] [stdout]    |                                                  ^^^^^^^ method not found in `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `map_err` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/bin/err_string.rs:19:50
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let num_str = std::fs::read_to_string((path).map_err(|e| e.to_string))?;
[INFO] [stdout]    |                                                  ^^^^^^^ method not found in `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `answer`
[INFO] [stdout]   --> src/main.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let answer = calc.eval(&line);
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_answer`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `String`
[INFO] [stdout]   --> src/bin/err_string.rs:19:75
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn get_int_from_file() -> Result<i32, String> {
[INFO] [stdout]    |                           ------------------- expected `String` because of this
[INFO] [stdout] 18 |     let path = "number.txt";
[INFO] [stdout] 19 |     let num_str = std::fs::read_to_string((path).map_err(|e| e.to_string))?;
[INFO] [stdout]    |                                                                           ^ the trait `From<std::io::Error>` is not implemented for `String`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]    = help: the following other types implement trait `From<T>`:
[INFO] [stdout]              <String as From<&String>>
[INFO] [stdout]              <String as From<&mut str>>
[INFO] [stdout]              <String as From<&str>>
[INFO] [stdout]              <String as From<Box<str>>>
[INFO] [stdout]              <String as From<Cow<'a, str>>>
[INFO] [stdout]              <String as From<char>>
[INFO] [stdout]    = note: required for `Result<i32, String>` to implement `FromResidual<Result<Infallible, std::io::Error>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `String`
[INFO] [stdout]   --> src/bin/err_string.rs:19:75
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn get_int_from_file() -> Result<i32, String> {
[INFO] [stdout]    |                           ------------------- expected `String` because of this
[INFO] [stdout] 18 |     let path = "number.txt";
[INFO] [stdout] 19 |     let num_str = std::fs::read_to_string((path).map_err(|e| e.to_string))?;
[INFO] [stdout]    |                                                                           ^ the trait `From<std::io::Error>` is not implemented for `String`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]    = help: the following other types implement trait `From<T>`:
[INFO] [stdout]              <String as From<&String>>
[INFO] [stdout]              <String as From<&mut str>>
[INFO] [stdout]              <String as From<&str>>
[INFO] [stdout]              <String as From<Box<str>>>
[INFO] [stdout]              <String as From<Cow<'a, str>>>
[INFO] [stdout]              <String as From<char>>
[INFO] [stdout]    = note: required for `Result<i32, String>` to implement `FromResidual<Result<Infallible, std::io::Error>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `answer`
[INFO] [stdout]   --> src/main.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let answer = calc.eval(&line);
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_answer`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/err_string.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |         Err(e) => match e {
[INFO] [stdout]    |                         - this expression has type `String`
[INFO] [stdout] 32 |             MyError::Io(cause) => println!("I/O Error: {}", cause),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^ expected struct `String`, found enum `MyError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/err_string.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |         Err(e) => match e {
[INFO] [stdout]    |                         - this expression has type `String`
[INFO] [stdout] 32 |             MyError::Io(cause) => println!("I/O Error: {}", cause),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^ expected struct `String`, found enum `MyError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/err_string.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |         Err(e) => match e {
[INFO] [stdout]    |                         - this expression has type `String`
[INFO] [stdout] 32 |             MyError::Io(cause) => println!("I/O Error: {}", cause),
[INFO] [stdout] 33 |             MyError::Num(cause) => println!("Parse Error: {}", cause),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ expected struct `String`, found enum `MyError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/err_string.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |         Err(e) => match e {
[INFO] [stdout]    |                         - this expression has type `String`
[INFO] [stdout] 32 |             MyError::Io(cause) => println!("I/O Error: {}", cause),
[INFO] [stdout] 33 |             MyError::Num(cause) => println!("Parse Error: {}", cause),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ expected struct `String`, found enum `MyError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `samplecli` due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `samplecli` due to 5 previous errors
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b243fcc94081e8b1fa021c305d591c1b93572ede22f3bdf7d9f7f4116c1efb62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b243fcc94081e8b1fa021c305d591c1b93572ede22f3bdf7d9f7f4116c1efb62", kill_on_drop: false }`
[INFO] [stdout] b243fcc94081e8b1fa021c305d591c1b93572ede22f3bdf7d9f7f4116c1efb62
